package com.pomr.controller.common;

import com.pomr.service.common.CreateUserService;
import com.pomr.util.common.ResponseData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @作者：Administrator
 * @时间：22:50 2018/9/10 0010
 * @用途：
 **/
@RestController
@RequestMapping("/createuser")
public class CreateUserController {
    @Autowired
    @Qualifier("createUserServiceImpl")
    private CreateUserService createUserService;

    @RequestMapping(value = "/add",method = RequestMethod.GET)
    public ResponseData createUser()throws Exception{
        return createUserService.createUser();
    }

}
